package com.glyxy.bxsystemht.service.impl;

import com.glyxy.bxsystemht.entity.Admin;
import com.glyxy.bxsystemht.mapper.AdminMapper;
import com.glyxy.bxsystemht.service.AdminService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 系统管理员 服务实现类
 * </p>
 *
 * @author yjp
 * @since 2021-08-30
 */
@Service
public class AdminServiceImpl extends ServiceImpl<AdminMapper, Admin> implements AdminService {
   @Autowired
 private AdminMapper adminMapper;
    @Override
    public Admin checkAccount(String account, String password) {
        return adminMapper.checkAccount(account,password);
    }
}
